package com.tlgen.orm.utils;

import com.tlgen.orm.config.SpeedProperties;

import java.util.Objects;

public class TraceLog {

    public static void out(String text) {
        SpeedProperties speedProperties = SpringUtils.getBean("speed-com.tlgen.orm.config.SpeedProperties");
        if (Objects.nonNull(speedProperties.getShowLog()) && speedProperties.getShowLog()) {
            System.out.println(text);
        }
    }

}
